<?php
class Sosweb_Util_Filter_IntegerFilter implements Zend_Filter_Interface
{
	public function filter($value)
    {
    	if ($value != null && strlen($value) > 0)
    	{
    		$new_value = round($value, 0);
    	}
    	else
    	{
    		$new_value = null;
    	}    		
        
    	return $new_value;
    }
}